package com.tianji.learning.service;

import com.tianji.common.domain.dto.PageDTO;
import com.tianji.learning.domain.po.InteractionQuestion;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.learning.domain.dto.QuestionFormDTO;
import com.tianji.learning.query.QuestionAdminPageQuery;
import com.tianji.learning.query.QuestionPageQuery;
import com.tianji.learning.domain.vo.QuestionAdminVO;
import com.tianji.learning.domain.vo.QuestionVO;

/**
 * <p>
 * 互动提问的问题表 服务类
 * </p>
 *
 * @author lcm
 * @since 2023-07-26
 */
public interface IInteractionQuestionService extends IService<InteractionQuestion> {

    void addQuestion(QuestionFormDTO questionFormDTO);

    void updateQuestion(Long id,QuestionFormDTO questionFormDTO);

    PageDTO<QuestionVO> pageQuery(QuestionPageQuery questionPageQuery);

    QuestionVO questionDetails(Long id);

    PageDTO<QuestionAdminVO> adminPageQuery(QuestionAdminPageQuery questionPageQuery);

    QuestionAdminVO questionAdminDetails(Long id);

    void deleteQuestion(Long id);

    void hiddenOrShowQuestion(Long id, Boolean hidden);
}
